package net.ericaro.neojavagen.expressions ;
import net.ericaro.neojavagen.expressions.RelationalExpression;
import net.ericaro.neojavagen.expressions.EqualityExpressionRest ;

/**
* *<pre> EqualityExpression :
    RelationalExpression EqualityExpressionRest?
</pre>
*/
public class EqualityExpression   {

RelationalExpression relationalexpression;
EqualityExpressionRest equalityexpressionrest ;

public EqualityExpression( RelationalExpression relationalexpression, EqualityExpressionRest equalityexpressionrest ){
	this.relationalexpression = relationalexpression; this.equalityexpressionrest = equalityexpressionrest ;
	}public EqualityExpression( RelationalExpression relationalexpression ){
this.relationalexpression = relationalexpression ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	stringbuilder.append( this.relationalexpression ).append(" ");
if (this.equalityexpressionrest !=null ) stringbuilder.append( this.equalityexpressionrest ).append(" ") ;
	return stringbuilder.toString();
}

}
